#include <QApplication>
#include <QLocale>
#include <QTranslator>

#include "PicMove.h"

int main(int argc, char *argv[])
{
	QApplication app(argc, argv);

	app.setOrganizationName("atmark");
	app.setApplicationName("PicMove");
	app.setApplicationVersion("0.0.3");

	QTranslator qtTrans;
	qtTrans.load("qt_" + QLocale::system().name());
	app.installTranslator(&qtTrans);

	QTranslator appTrans;
	appTrans.load(QString("%1/translation_%2").arg(app.applicationDirPath()).arg(QLocale::languageToString(QLocale::system().language())));
	app.installTranslator(&appTrans);

	PicMove w;
	w.show();

	return app.exec();
}
